//
//  UIColor+Tool.h
//  BaseProject
//
//  Created by 小崔 on 2022/4/21.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIColor (Tool)

/// 16进制颜色字符串转为UIColor
/// @param hexString 16进制颜色
+(UIColor *)colorWithHexString:(NSString *)hexString;
/// 16进制颜色(html颜色值)字符串转为UIColor
/// @param hexString 16进制颜色
/// @param alpha 透明度
+ (UIColor *)colorWithHexString:(NSString *)hexString alpha:(CGFloat)alpha;

@end

NS_ASSUME_NONNULL_END
